removeKeyframes

abstract fun removeKeyframes(block: DesignBlock, property: String)

Remove the keyframe track of a block property, so the static value applies again. Does nothing when the property has no keyframes. Required scope: the scopes that setKeyframes needs for the removed track. Experimental: this API may change in a minor release.

Parameters

block

the block that owns the property.

property

the animatable property path.